// Test

SKILL = {}

SKILL.Name = "Test"
SKILL.Author = "|Royal|"
SKILL.Date = "8th April 2012"
SKILL.Version = "0"
SKILL.Cost = 5


function SKILL.LongJump( pl, mv )

local currentitemlevel = pl:GetNWInt("LongJump")
local bonus = ((currentitemlevel * 25)+250)
local pos = pl:GetAimVector()
if(currentitemlevel > 0 ) then
if(pl:KeyPressed(IN_JUMP)  /*IsKeyDown( pl, IN_FORWARD)*/ and pl:IsOnGround() ) then
 mv:SetVelocity(Vector(pos.x * bonus,pos.y * bonus, 100))
	Msg("JUMP\n")
	end
else
return false
end


end

